each item in resultList
  .box.yui3-u
    .sb01.yui3-g
      .yui3-u-1-2
        em 状态：
        - var cls = ['', 'st1', 'st1', 'st2', 'st2']
        em.sale(class=cls[item.status])= item.statusName
      .yui3-u-1-2.tar
        case item.status
          when 2
            a(href='javascript:;', hidefocus, data-id=item.id).pause &nbsp;
          when 3
            a(href='javascript:;', hidefocus, data-id=item.id).play &nbsp;
        a(href='javascript:;', hidefocus, data-id=item.id).remove &nbsp;
    .sb02
      .yui3-u
        img(src=item.pictureList[0], width=100, height=100, onerror="this.src='#{CONTEXT_PATH}/images/wx_service/my_web/default_pic.png'", alt='蜘蛛旅游')
      .yui3-u
        .sb021
          .yui3-u-2-3.ellipsis
            h3.ellipsis= item.name
          .yui3-u-1-3.tar
            b.unit ￥
            b.price= item.price
        .sb022.ellipsis= item.description
        .sb023
          .progress
            span(style='width: #{Number(item.sale * 100 / (item.sale + item.stock)).toFixed(2)}%')
          | &nbsp;&nbsp;&nbsp;
          .yui3-u 已售 / 库存
            br
            | #{item.sale} / #{item.stock}
    .sb03.yui3-g
      .yui3-u-2-3
        each act in item.activityList
          label.act= act.name
      .yui3-u-1-3.tar.time
        | 创建时间：#{item.createTime}

.pagination_wrapper.tar
  include ../partials/pagination